/* 微应用样式 - 带作用域隔离 */
.app-app2-container {
  /* 微应用专用样式变量 */
  --app2-primary-color: #409EFF;
  --app2-success-color: #67C23A;
  --app2-warning-color: #E6A23C;
  --app2-danger-color: #F56C6C;
  --app2-info-color: #909399;
  
  --app2-text-primary: #303133;
  --app2-text-regular: #606266;
  --app2-text-secondary: #909399;
  
  --app2-border-color: #EBEEF5;
  --app2-border-light: #F2F6FC;
  
  --app2-background-color: #F5F7FA;
  
  /* 基础样式重置 */
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
  color: var(--app2-text-regular);
  background-color: var(--app2-background-color);
  margin: 0;
  padding: 0;
}

/* 微应用环境下的特殊样式 */
.app-app2-container.qiankun-microapp {
  background-color: transparent;
  padding: 0;
}

/* 基本元素样式 - 作用域化 */
.app-app2-container h1,
.app-app2-container h2,
.app-app2-container h3,
.app-app2-container h4,
.app-app2-container h5,
.app-app2-container h6 {
  color: var(--app2-text-primary);
  margin-top: 0;
}

.app-app2-container a {
  color: var(--app2-primary-color);
  text-decoration: none;
}

.app-app2-container a:hover {
  color: #66b1ff;
}

/* 防止样式冲突 - 作用域化 */
.app-app2-container .el-button {
  font-weight: normal;
}

/* 辅助类 - 作用域化 */
.app-app2-container .text-center {
  text-align: center;
}

.app-app2-container .text-right {
  text-align: right;
}

.app-app2-container .mb-20 {
  margin-bottom: 20px;
}

.app-app2-container .mt-20 {
  margin-top: 20px;
}

.app-app2-container .p-20 {
  padding: 20px;
}

/* 卡片和容器 - 作用域化 */
.app-app2-container .content-card {
  margin-bottom: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.app-app2-container .content-container {
  padding: 20px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

/* 独立运行时的导航样式 - 作用域化 */
.app-app2-container .standalone-header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--app2-primary-color), #66b1ff);
  color: white;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.app-app2-container .app-logo {
  display: flex;
  align-items: center;
}

.app-app2-container .logo {
  height: 32px;
  width: auto;
}

.app-app2-container .app-title {
  margin-left: 12px;
  font-size: 18px;
  font-weight: 600;
}

.app-app2-container .standalone-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.app-app2-container .standalone-nav .el-menu {
  border-bottom: none;
  background-color: transparent;
}

.app-app2-container .standalone-nav .el-menu--horizontal .el-menu-item {
  color: rgba(255, 255, 255, 0.85);
  height: 64px;
  line-height: 64px;
  font-size: 15px;
}

.app-app2-container .standalone-nav .el-menu--horizontal .el-menu-item:not(.is-disabled):hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.app-app2-container .standalone-nav .el-menu--horizontal .el-menu-item.is-active {
  color: white;
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 2px solid white;
}

.app-app2-container .standalone-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-app2-container .action-btn {
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
}

.app-app2-container .action-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: white;
}

.app-app2-container .app-content {
  flex: 1;
  overflow-y: auto;
}

/* 响应式设计辅助类 - 作用域化 */
@media screen and (max-width: 768px) {
  .app-app2-container .hide-on-mobile {
    display: none !important;
  }
  
  .app-app2-container .content-container {
    padding: 15px;
  }
} 